package com.example.knowman.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("\"ARCHKNOW\".\"staffList\"")
public class staffList extends Model<staffList>{

    private static final long serialVersionUID = 1L;

    @TableField("\"staffId\"")
    private Integer staffId;

    @TableField("\"staffCode\"")
    private String staffCode;

    @TableField("\"passwd\"")
    private String passwd;

    @TableField("\"archDeptName\"")
    private String archDeptName;

    @TableField("\"archDeptCode\"")
    private String archDeptCode;

    @TableField("\"staffName\"")
    private String staffName;

    @TableField("\"contactInfo\"")
    private String contactInfo;

    @TableField("\"staffState\"")
    private Integer staffState;

    @TableField("\"isManager\"")
    private String isManager;



    @TableField("\"isArch\"")
    private String isArch;

    @TableField("\"isKnowPro\"")
    private String isKnowPro;

    @TableField("\"notes\"")
    private String notes;

    @TableField("\"createtime\"")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createtime;




}
